home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_54.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  112KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky
OCR: Sat, Feb CMPR #379 DB eginners Guide Macintosh Assembly Language Programming age BLE CURSOR ON PAGE NO ITHASNT **CURSOR OFF BOTTOM OF WINDOW MOVE.I SCROL LHND( A6),-(SP) MOVE.I CURTOP(A6),D1 ADDI #PAGEL INES-1,D1 MOVE.W D1 -SP) DC SETCTLVALUE FLICK DOWN ONE PAGE BSR SCROLI **NOW LET SC ROLL BAR KNOW HOW MANY LINES THERE ARE CURSOR ON PAGE MOVEJ SCROLLHND( A6), (SP) MOVE. NUMBL INES A6)-(SP) DC SETCTLMAX SET T SCROLL BAR MAX NUMBER OF LINES CL R DO RETURN 0 RTS Section 5c normal key processes keyboard presses First the character is printed in the editor window by putachar, which prints the character in the editor window. Then we set a flag called dirty This tefls our that this file has been i modified, so when we quit 10 close the window IO open .another the program can remind u.s that this ...